how to insert data using api in vue js 3